package com.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {
    private Integer user_id;
    private String email;
    private String password;
    private String salt;
    private String nickname;
    private Integer status;
    private String code;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date create_date;
}
